<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" th:with="title='商城激活',active='home'">
<head>
    <meta charset="utf-8"/>
    <title>激活页面</title>
    <link rel="stylesheet" type="text/css" href="/css/public.css"/>
    <link rel="stylesheet" type="text/css" href="/css/login.css"/>
<!--    <script type="">-->
<!--        function sendcode() {-->
<!--            var uname = document.getElementById(userName);-->
<!--            if (window.XMLHttpRequest)-->
<!--            {-->
<!--                //  IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码-->
<!--                xmlhttp=new XMLHttpRequest();-->
<!--            }-->
<!--            else-->
<!--            {-->
<!--                // IE6, IE5 浏览器执行代码-->
<!--                xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");-->
<!--            }-->
<!--            xmlhttp.open("GET","/admin/active/uname="+uname,true);-->
<!--            xmlhttp.send();-->
<!--        }-->
<!--    </script>-->
</head>
<body>
<div class="box">
    <div class="dly">
        <div class="dly_left"></div>
        <form action="http://localhost:8893/admin/reactive" method="get">
            <div class="dly_right">
                <p class="tit">账号验证</p>
                <div class="zc_username">
                    <span class="zc_tit">用户名</span>
                    <input type="text" id="userName" name="uname" class="username"/>
                    <!-- for="email"-->
                </div>
                <div class="zc_password">
                    <span class="zc_tit">验证码</span>
                    <input type="text" id="ucode" name="ucode" class="pass_word"/>
                    <!-- for="email"-->
                    <label class="error" id="pass_word_error"></label>
                </div>

<!--                <button id="btn-ra" class="btn-ty" onclick="sendcode()" value="重发验证码">-->
                <input id="btn-ty" class="btn-ty" type="submit" value="激活">

                <!--<button id="btn-ty" class="btn-ty" onclick="login.doLogin();">登录</button>-->

                <p class="cstyle">没有账号？<a href='http://localhost:8893/admin/toregister'>立即注册</a></p>
            </div>
        </form>
    </div>
</div>
</body>

</html>

